package com.ctsi.security.app.vo;

import com.ctsi.commons.util.response.Page;

import java.io.Serializable;

/**
 * @author: zhangjw
 * @Date: 2018/11/23 01:30
 * @Description:
 */
public class PermissionVO implements Serializable {
    private static final long serialVersionUID = 5236362357702133497L;

    private int start = 0;

    private int pageSize = Page.DEFAULT_PAGE_SIZE;

    private String permTypeId;

    private String permissionId;

    private String permissionName;

    private boolean wild;
    /**
     * 权限类型 资源 菜单 按钮
     */
    private String ptype;

    public PermissionVO() {
    }

    public int getStart() {
        return this.start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getPermissionId() {
        return this.permissionId;
    }

    public void setPermissionId(String permissionId) {
        this.permissionId = "%"+permissionId+"%";
    }

    public String getPermissionName() {
        return this.permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = "%"+permissionName+"%";
    }

    public boolean isWild() {
        return this.wild;
    }

    public void setWild(boolean wild) {
        this.wild = wild;
    }

    public String getPermTypeId() {
        return this.permTypeId;
    }

    public void setPermTypeId(String permTypeId) {
        this.permTypeId = permTypeId;
    }

    public String getPtype() {
        return this.ptype;
    }

    public void setPtype(String ptype) {
        this.ptype = ptype;
    }
}
